<template>
    <div>
        <el-dialog
            title="学生档案"
            :visible.sync="dialogVisible"
            @closed="close"
            :close-on-click-modal="false"
            @open="open"
            top="10px"
            width="900px">
            <studyinfo ref="studyinfo"></studyinfo>
        </el-dialog>
    </div>
</template>
<script>
import studyinfo from './../study/details.vue'
export default {
    components:{
        studyinfo
    },
    data() {
        return {
            dialogVisible:false,
        }
    },
    props:{
        syudyid:{
            type:String,
            default:''
        }
    },
    created(){
        
    },
    methods:{
        open() {
            this.$nextTick(() => {
                this.$refs.studyinfo.getdata(this.syudyid);
            });
        }, 
        close(){
            
        }
    }
}
</script>
<style lang="less" scoped>

</style>
